from myblog import settings
from blog.models import Links, Category, Tag, Article, Comment

def global_settings(request):
    blog = {}
    blog["SITE_NAME"] = settings.SITE_NAME
    blog["SITE_GIT"] = settings.SITE_GIT
    links = Links.objects.all()
    categories = Category.objects.all()
    tags = Tag.objects.all()
    comment_list = Comment.objects.all()
    return locals()